﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Cosmos.Hardware;
using CosmosKernel1.GUI;
namespace CosmosKernel1.GUI.window
{
    class Window
    {
        public static void Init(ref VGAScreen VGA,uint x,uint y,uint dlinna,uint shrina,byte c)
        {
            func.DrawRectangle(ref VGA,x,y,dlinna,shrina,0);
            func.DrawFillRectangle(ref VGA, x + 1, y + 1, dlinna - 1, shrina - 1, c);
            func.hline(x,y+10,dlinna+x,0);
            func.hline(x, y + shrina-10, dlinna + x, 0);
         
        }
    }
}
